package cn.sunline.dreamvalue.exception;

import cn.sunline.dreamvalue.constant.ResultStatus;

/**
 * @author 11292
 * @title: DreamValueExcption
 * @projectName dream-value
 * @description: 梦想值统一异常封装类
 * @date 2020/5/2119:01
 */
public class DreamValueExcption extends Exception{


    private ResultStatus resultStatus;

    public DreamValueExcption(ResultStatus status){
        super(status.getStatusMsg());
        resultStatus = status;
    }

    public ResultStatus getResultStatus() {
        return resultStatus;
    }
}
